<nav>
  <div class="book-menu-header">
    <span class="book-icon-wrapper book-icon-big">
      <label for="menu-control">
        {{ partial "svgs/menu-close.svg" . }}
      </label>
    </span>
  </div>
  <div class="book-menu-tree">
    {{ partial "docs/inject/menu-before" . }}
    {{ partial "docs/menu-hugo"  (dict "Menu" .Site.Menus.before "CurrentPage" .) }}

    {{ if .Site.Params.BookMenuBundle }}
    {{ partial "docs/menu-bundle" . }}
    {{ else }}
    {{ partial "docs/menu-filetree" . }}
    {{ end }}

    {{ partial "docs/menu-hugo" (dict "Menu" .Site.Menus.after "CurrentPage" .) }}
    {{ partial "docs/inject/menu-after" . }}
  </div>
</nav>